from django.contrib import admin
from .models import *

class DepartmentAdmin(admin.ModelAdmin):
    list_display = ("id","department_cn","department_en","icon","background","status")

class HistoryAdmin(admin.ModelAdmin):
    list_display = ("id","years","department")

class MembersAdmin(admin.ModelAdmin):
    list_display = ("id","years","name","motto","department")
admin.site.register(Department,DepartmentAdmin)
admin.site.register(History,HistoryAdmin)
admin.site.register(Members,MembersAdmin)
